//
//  Header.h
//  ifengNewsOrderDemo
//
//  Created by zer0 on 14-2-26.
//  Copyright (c) 2014年 zer0. All rights reserved.
//

#define ScreenHeight     [UIScreen mainScreen].bounds.size.height //设备高
#define ScreenWidth     [UIScreen mainScreen].bounds.size.width   //设备宽

#ifndef ifengNewsOrderDemo_Header_h
#define ifengNewsOrderDemo_Header_h
#define KOrderButtonFrameSizeX 44
#define KOrderButtonFrameSizeY 44
#define KOrderButtonFrameOriginX (ScreenWidth-KOrderButtonFrameSizeX)
#define KOrderButtonFrameOriginY 0
//以上是OrderButton的frame值
#define KOrderButtonImage @"topnav_orderbutton.png"
#define KOrderButtonImageSelected @"topnav_orderbutton_selected_unselected.png"
//以上是OrderButton的背景图片
#define KDefaultCountOfUpsideList 8
//默认订阅频道数
#define KTableStartPointX 10
#define KTableStartPointY 100
//已订阅的按钮起始的位置

#define numPerLine 4 //每行的button数目
#define HorizontalSpacing 10//横向间隔
#define LongitudinalSpacing 10//纵向间隔
#define ItemFontSize 14//选项字体


#define KButtonWidth ((ScreenWidth-(numPerLine-1)*HorizontalSpacing-KTableStartPointX*2)/numPerLine)
#define KButtonHeight 40
//按钮的大小
#define KDeltaHeight 40
//更多频道下面按钮的起始位置向下偏移
#define KMoreChannelDeltaHeight 30
//更多频道起始Y坐标向下偏移


#define DeadItemList HeadLine_ID,Recommend_ID

#endif
